package com.nbot.server.properties;

/**
 * opc属性定义类
 */
public class Opc {
    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    private String ip = "127.0.0.1";

    public String getClsid() {
        return clsid;
    }

    public void setClsid(String clsid) {
        this.clsid = clsid;
    }

    private String clsid = "";

    private String user = "Administrator";
    private String password = "password";//password

    public boolean isOpcAlarm() {
        return opcAlarm;
    }

    public void setOpcAlarm(boolean opcAlarm) {
        this.opcAlarm = opcAlarm;
    }

    private boolean opcAlarm = true;

    private String progid = "Knight.OPC.Server.Demo";

    public String getInterval() {
        return interval;
    }

    public void setInterval(String interval) {
        this.interval = interval;
    }

    private String interval = "10";


    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getProgid() {
        return progid;
    }

    public void setProgid(String progid) {
        this.progid = progid;
    }
}
